package com.wwinsoft.framework.service.system;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wwinsoft.framework.dao.system.SystemSettingDao;
import com.wwinsoft.framework.entity.system.SystemSetting;

/**
 * @author: Tim.Chen
 * @since: 1.0
 */
@Service
@Transactional
@SuppressWarnings(value = { "unchecked" })
public class SystemSettingService {

    @Autowired
    private SystemSettingDao systemSettingDao;

    public String getDataFileLocation() {
        return systemSettingDao.getCachedValue(SystemSetting.DATA_FILE_LOCATION);
    }

}
